from Board import *
from HumanPlayer import *
from ComputerPlayer import *

class Game:
    def main(self):
        """
        Run the main loop of the game.
        """

        board = Board(345) # this doesn't really work
        
        
        p1 = HumanPlayer()
        
        from ai.ConcreteAIExample import ConcreteAIExample
        p2ai = ConcreteAIExample()
        p2 = ComputerPlayer(p2ai)
        
        print board.toString()
        
        while 1:
            result = p1.move(board)
            print result[1]
            print board.toString()
            
            result = p2.move(board)
            print result[1]
            print board.toString()

#Create Game Instance
g = Game()
#Run game
g.main()